<!--web-App-->
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    <title>webApp</title>
    <link href="lib/css/ionic.css" rel="stylesheet">
    <link href="common/css/ionic.css" rel="stylesheet">

    <script src="lib/js/ionic.bundle.js"></script>
</head>

<body ng-app="ionicApp">
    <!--js提前，以方便ionic解析样式
    <script type="text/javascript" src="js/ionic.js"></script>
    -->
    <div ng-controller="Main">
        <div ui-view></div>
        <ion-footer-bar>
            <div class="tabs-striped tabs-color-assertive">
                <div class="tabs tabs-icon-top">
                    <a class="tab-item" ng-class="{active: page === 'diary'}" on-touch="method.curPage('diary')" ui-sref="diary">
                        <i class="ion-icon ion-android-list"></i>
                        日志
                    </a>
                    <a class="tab-item" ng-class="{active: page === 'contact'}" on-touch="method.curPage('contact')" ui-sref="contact">
                        <i class="ion-icon ion-android-person-add"></i>
                        通讯录
                    </a>
                    <a class="tab-item" ng-class="{active: page === 'setting'}" on-touch="method.curPage('setting')" ui-sref="setting">
                        <i class="ion-icon ion-gear-a"></i>
                        设置
                    </a>
                </div>
            </div>
        </ion-footer-bar>
    </div>
    <script type="text/javascript" src="common/js/app.js"></script>
    <script type="text/javascript" src="common/js/services.js"></script>
    <script type="text/javascript" src="common/js/router.js"></script>
    <script type="text/javascript" src="common/js/directive.js"></script>
    <script type="text/javascript" src="module/diary/diaryController.js"></script>
    <script type="text/javascript" src="module/contact/contactController.js"></script>
    <script type="text/javascript" src="module/setting/settingController.js"></script>
</body>

</html>